using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Platform
{
    /// <summary>
    /// 部门负责人
    /// </summary>
    [SugarTable("SFDeptLeaders")]
    public class SFDeptLeaderEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 部门编码
        /// </summary>
        public string DeptCode { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 部门全路径
        /// </summary>
        public string FullPathCode { get; set; }

        /// <summary>
        /// 上级部门
        /// </summary>
        public string ParentDeptCode { get; set; }

        /// <summary>
        /// 负责人工号
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 组织类别
        /// </summary>
        public string DeptCategory { get; set; }
    }
}